import request from '@/utils/request'

// 查询用户资金列表
export function listFund(query) {
  return request({
    url: '/sys/app/user/balance/page',
    method: 'post',
    data: query
  })
}


//修改用户余额
//   return request({
//     url: `/sys/app/user/balance/change/balance/${userId}/${changeAmount}`,
//     method: 'put',
//   })
// }
//修改用户余额
export function balance(query) {
  return request({
    url: '/sys/app/user/balance/change/balance',
    method: 'post',
    data: query
  })
}
